package pers.zcr.meringue.monolithic.demo.testuser.service.impl;

import org.springframework.stereotype.Service;
import pers.zcr.meringue.monolithic.demo.testuser.command.TestUserDetailQryExe;
import pers.zcr.meringue.monolithic.demo.testuser.domain.dto.TestUserDetailQry;
import pers.zcr.meringue.monolithic.demo.testuser.domain.dto.vo.TestUserVo;
import pers.zcr.meringue.monolithic.demo.testuser.service.ITestUserService;
@Service
public class TestUserServiceImpl implements ITestUserService {
    private final TestUserDetailQryExe testUserDetailQryExe;

    public TestUserServiceImpl(TestUserDetailQryExe testUserDetailQryExe) {
        this.testUserDetailQryExe = testUserDetailQryExe;
    }

    @Override
    public TestUserVo queryById(TestUserDetailQry testUserDetailQry) {
        return testUserDetailQryExe.execute(testUserDetailQry);
    }
}
